<?php
/*code here*/
/* If user click the button/link to logged out. */
$destroy = Auth::destroyAuth('current_user');
if($destroy){
    header('location: /');
}
/*code here(end)*/
exit;
$this->setLayout();
